package com.siwen.result;

import java.util.List;

public class ChildTblResult <T>{
   private Integer  code;
    private String   msg;
    private List<T> data;
    private  long count;
    private  T onedata;
    private  long datacount;

    @Override
    public String toString() {
        return "ChildTblResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                ", count=" + count +
                ", onedata=" + onedata +
                ", datacount=" + datacount +
                '}';
    }

    public long getDatacount() {
        return datacount;
    }

    public void setDatacount(long datacount) {
        this.datacount = datacount;
    }

    public T getOnedata() {
        return onedata;
    }

    public void setOnedata(T onedata) {
        this.onedata = onedata;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public ChildTblResult() {
    }

    public Integer getCode() {

        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
